Method and system for mitigating adjacent track erasure in hard disk drives

ABSTRACT

A method, system, and computer program product for mitigating adjacent track erasures in hard disks, includes: determining input/output (I/O) characteristics for a plurality of blocks on a hard disk; assigning the plurality of blocks to a plurality of categories of I/O characteristics by the processor; and clustering content of the blocks assigned to the same category in one or more continuous tracks on the hard disk. Each block is assigned to one category. Blocks with similar I/O characteristics are clustered on one or more continuous tracks. By performing this clustering, blocks with a high number of I/O operations are grouped and stored on fewer tracks than if they were scattered across numerous tracks. This reduces the number of tracks experiencing a high number of I/O operations, and in turn, the amount of refreshing of adjacent tracks is reduced.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of co-pending U.S. patent application Ser. No. 12/902,150, filed on Oct. 12, 2010, and is related to U.S. patent application Ser. No. 12/941,016, filed on Nov. 5, 2010.

BACKGROUND

Secure deletion of data on non-volatile magnetic data storage, such as a hard disk, is an act of securely purging the data such that there are no residuals of the data on the hard disk. Regulations exist which mandate the need for secure deletion according to various standards, such as that published by the U.S. Department of Defense. A hard disk drive includes one or more hard disks clamped to a rotating spindle and at least one head for reading or writing data on the disk. Storage on a hard disk is divided into “blocks”, which are in turn grouped into “tracks”. A disk head uses magnetism to read or write data onto the tracks. Secure deletion involves the overwriting of blocks on a track by the disk head numerous times, depending on the standard being applied. Thus, secure deletion involves multiple input/output (I/O) operations on the same blocks of a track.

As a track on the hard disk is written, adjacent tracks may be overwritten by the magnetic field generated in the disk head, and data recorded in the adjacent tracks may be erased or corrupted as a result. This phenomenon is called adjacent track erasure (ATE) or adjacent track interference (ATI) and are aggravated by the multiple overwrites required by secure deletion.

In one approach to counter ATE or ATI, when a track has been overwritten a certain number of times, the adjacent tracks are read and rewritten, hence refreshing the data on the adjacent tracks. However, the I/O operations required in the refreshing of the adjacent tracks impose a performance penalty on the hard disk drive. With the aggravation of the ATE and ATI phenomenon due to secure deletion requirements, the need to refresh adjacent tracks become more frequent, imposing an even high performance penalty on the hard disk drive.

BRIEF SUMMARY

According to one embodiment of the present invention, a method for mitigating adjacent track erasures in hard disks, the computer operationally coupled to a processor, the method comprising: determining input/output (I/O) characteristics for a plurality of blocks on a hard disk by the processor; assigning the plurality of blocks to a plurality of categories of I/O characteristics by the processor; and clustering content of the blocks assigned to the same category in one or more continuous tracks on the hard disk by the processor.

In one aspect of the present invention, the determining the I/O characteristics for the plurality of blocks on the hard disk by the processor comprises determining secure deletion requirements for the plurality of blocks on the hard disk by the processor, the secure deletion requirements comprising overwriting rates for the plurality of blocks; the assigning the plurality of blocks to the plurality of categories of I/O characteristics by the processor comprises assigning the plurality of blocks to a plurality of categories associated with the overwriting rates; and the clustering the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk by the processor comprises clustering the content of the blocks assigned to the same overwriting rate category in the one or more continuous tracks on the hard disk by the processor.

In one aspect of the present invention, the determining the I/O characteristics for the plurality of blocks on the hard disk by the processor comprises determining expected access frequencies for a given time period for the plurality of blocks on the hard disk by the processor; the assigning the plurality of blocks to the plurality of categories of I/O characteristics by the processor comprises: assigning the plurality of blocks to a plurality of categories of expected access frequencies for the given time period by the processor; and the clustering the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk by the processor comprises: clustering the content of the blocks assigned to the same category of expected access frequency in the one or more continuous tracks on the hard disk by the processor.

In one aspect of the present invention, the determining the I/O characteristics for the plurality of blocks on the hard disk by the processor comprises assigning a plurality of counters for the plurality of blocks of the hard disk by the processor, and for each of the plurality of blocks, incrementing by the processor the counter for the block each time a read operation or a write operation is performed on the block; the assigning the plurality of blocks to the plurality of categories of I/O characteristics by the processor comprises assigning one of the plurality of categories to each of the plurality of blocks by the processor, wherein the plurality of categories are defined based on thresholds of the plurality of counter values; the clustering the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk by the processor comprises clustering the content of the blocks assigned the same counter value category in the one or more continuous tracks on the hard disk by the processor.

In one aspect of the present invention, the determining the I/O characteristics for the plurality of blocks on the hard disk by the processor comprises maintaining a table comprising a number of accesses and remanence states of the plurality of blocks on the hard disk by the processor; the assigning the plurality of blocks to the plurality of categories of I/O characteristics by the processor comprises defining a space by the processor representing the plurality of blocks with attribute dimensions comprising the number of accesses, time, and the remanence states, placing objects representing the plurality of blocks within the space by the processor, and applying a K-means clustering algorithm on the objects by the processor using a plurality of categories of the attribute dimensions as classes; the clustering the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk by the processor comprises: storing the content of the plurality of blocks in each cluster in the space in the one or more continuous tracks on the hard disk by the processor.

In one aspect of the present invention, the method further comprises: performing at least one overwrite operation on at least one of the plurality of blocks of a track on the hard disk by the processor; determining by the processor if a predetermined threshold of overwrites for the block is reached; and in response to determining that the predetermined threshold of overwrites for the block is reached, refreshing content of adjacent tracks by the processor.

System and computer program products corresponding to the above-summarized methods are also described and claimed herein.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 illustrates an embodiment of a system for mitigating adjacent track erasures in hard disks according to the present invention.

FIG. 2 is a flowchart illustrating an embodiment of a method for mitigating adjacent track erasures in hard disks according to the present invention.

FIG. 3 is a flowchart illustrating an embodiment of the method for mitigating adjacent track erasures in hard disks for secure deletion, according to the present invention.

FIG. 4 is a flowchart illustrating an embodiment of the method for mitigating adjacent track erasures in hard disks using a time dimension according to the present invention.

FIG. 5 is a flowchart illustrating an embodiment of the determining of the I/O characteristics of the plurality of blocks according to the present invention.

FIG. 6 is a flowchart illustrating an embodiment of the clustering of the plurality of blocks according to the present invention.

DETAILED DESCRIPTION

As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java™ (Java, and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both), Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).

Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer special purpose computer or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified local function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

FIG. 1 illustrates an embodiment of a system for mitigating adjacent track erasures in hard disks according to the present invention. The system comprises a computer 101 operationally coupled to a hard disk drive comprising one or more hard disks 105, where data is read and written to tracks on the hard disk 105 by a disk head 106. The computer 101 is further operationally coupled to a processor 102 and a computer readable medium 103. The computer readable medium 103 stores computer readable program code 104 for implementing the method of the present invention. The processor 102 executes the program code 104 to mitigate adjacent track erasure in hard disks 105 according to the various embodiments of the present invention.

FIG. 2 is a flowchart illustrating an embodiment of a method for mitigating adjacent track erasures in hard disks according to the present invention. The method determines the I/O characteristics for a plurality of blocks on the hard disk 105 (201). The method then assigns the blocks to categories of I/O characteristics (202). The content of blocks assigned the same category are clustered in one or more continuous tracks on the hard disk 105 (203). The clustering of the blocks may be performed by moving the content to the continuous tracks, or by taking the assigned category into account when the block is initially written. In this embodiment, each block is assigned to one category. Blocks with similar I/O characteristics are thus clustered on one or more continuous tracks. By performing this clustering, blocks with a high number of I/O operations are grouped and stored on fewer tracks than if they were scattered across numerous tracks. This reduces the number of tracks experiencing a high number of I/O operations, and in turn, the amount of refreshing of adjacent tracks is reduced.

In one embodiment, the I/O characteristics comprise the access frequency of the plurality of blocks. The method determines the access frequencies of each block on the hard disk 105 (201). Blocks with high access frequencies are assigned to the same high access frequency category, while blocks with low access frequencies are assigned to the same low access frequency category (202). An example of high access frequency blocks include blocks storing a current time, where the current time is rewritten at regular intervals. The content of the blocks assigned to the same high access frequency category are then clustered in one or more continuous tracks (203). Only the tracks adjacent to the tracks storing the high access frequency blocks will be refreshed frequently. The content of the blocks assigned to the same low access frequency category are clustered in another set of continuous tracks (203). The tracks adjacent to the tracks storing the low access frequency blocks would be refreshed less frequently.

For example, assume that frequently accessed files are stored in blocks scattered across five tracks, requiring the refreshing of ten adjacent tracks. However, when these blocks are clustered in one track, only two adjacent tracks need to be refreshed, resulting in a gain in performance.

In another embodiment, the I/O characteristics pertain to the requirements for the secure deletion of files. FIG. 3 is a flowchart illustrating an embodiment of the method for mitigating adjacent track erasures in hard disks for secure deletion, according to the present invention. In this embodiment, the method determines the secure deletion requirements for a plurality of blocks of the hard disk 105, where the secure deletion requirements comprise overwriting rates for the blocks (301). The method assigns the blocks to categories associated with the overwriting rates (302). The content of the blocks assigned the same overwriting rate category are clustered in one or more continuous tracks on the hard disk 105 (303). The secure deletion requirements may be set by government regulation or by any other security standards.

For example, assume that a file stored on blocks scattered across five tracks is classified as high security, and the method determines that regulations require a rate of ten overwrites to the blocks to facilitate its secure deletion (301). Categories for different thresholds of overwrites are defined, and the blocks for this file are assigned to the same ten-overwrites-or-over category (302). The content of these blocks, i.e., the high security file, are then clustered in one or more continuous tracks of the hard disk 105 (303). By clustering these blocks in this manner, only two adjacent tracks need to be refreshed, as opposed to ten adjacent tracks if the blocks remained scattered.

When the secure deletion of the high security file is performed, the blocks in tracks storing the file are overwritten at least ten times. The method determines if the overwriting of the blocks have reached a predetermined threshold of overwrites, defined to determine when ATI or ATE may become a problem for adjacent tracks. In response to determining that the predetermined threshold has been reached, the content of the adjacent tracks are refreshed.

In another embodiment, the I/O characteristics comprise a time dimension, where the access frequencies of blocks may vary from time period to time period. FIG. 4 is a flowchart illustrating an embodiment of the method for mitigating adjacent track erasures in hard disks using a time dimension according to the present invention. The method determines the expected access frequencies for a given time period for the plurality of blocks (401). The method assigns the blocks to categories of expected access frequencies for the given time period (402). The content of the blocks assigned the same expected access frequency category are then clustered in one more continuous tracks on the hard disk 105 (403).

For example, assume that files containing Thanksgiving offers are stored on blocks scattered across five tracks. For the time period defined for the Thanksgiving holiday, the method determines that these blocks are expected to have high access frequencies for the Thanksgiving holiday (401). During the Thanksgiving holiday, the method assigns these blocks to the same high access frequency category (402). The content of the blocks, i.e., the files containing the Thanksgiving offers, are then clustered in continuous tracks of the hard disk 105 (403). By clustering the blocks in this manner, only two adjacent tracks need to be refreshed, as opposed to ten adjacent racks if the blocks remained scattered.

Although the embodiment are described with the I/O characteristics above, one of ordinary skill in the art will understand that a variety of I/O characteristics of the plurality of blocks may be used, alone or in combination, without departing from the spirit and scope of the present invention.

FIG. 5 is a flowchart illustrating an embodiment of the determining of the I/O characteristics of the plurality of blocks according to the present invention. The method assigns counters for the plurality of blocks of the hard disk 105 (501) for example, the counter may be stored in a table. In this embodiment, there is one counter for each block. Each time a read or write operation is performed on a block, the block's counter is incremented (502). The method assigns a category to each block, where categories are defined based on thresholds of counter values (503). The method clusters the content of the blocks assigned to the same counter value category in one or more continuous tracks on the hard disk 105 (504).

FIG. 6 is a flowchart illustrating an embodiment of the clustering of the plurality of blocks according to the present invention. The method maintains a table of the number of accesses and the remanence states of the plurality of blocks on the hard disk 105 (601). The method defines a space representing the blocks with the following attribute dimensions: number of accesses, time, and remanence state (602). For example, these dimensions can define the X, Y, and Z-axes of a three dimensional space. Objects representing the blocks are placed within the space (603). The K-Means clustering algorithm is then applied on the objects using categories of the attribute dimensions as the classes (604).

K-means is an unsupervised learning algorithm that solves clustering problems. The algorithm classifies a given data set through a certain number (k) of clusters fixed a priori. K centroids are defined, one for each cluster. Each point belonging to a given data set is assigned to the nearest centroid. K new centroids are then re-calculated as barycenters of the clusters resulting from the previous step. A new binding is then done between the same data set points and the nearest new centroid. A loop is thus generated. As a result of this loop, the k centroids change their locations step by step until no more changes occur, i.e., the centroids do not move any more This algorithm aims at minimizing an object function, such as V=Σ_(i=1) ^(k)Σ_(k) _(j) _(∈S) _(i) (x_(j)−μ_(i))², where there are k clusters=S_(i), where i=1, 2, . . . k, and μ_(i) is the centroid or mean point of all the point x_(i)∈ S_(i). The K-Means clustering algorithm is known in the art and will not be described further here.

The application of the K-Means algorithm results in the clustering of blocks with similar or same attribute dimensions. The content of the blocks in each cluster in the space are then stored in one or more continuous tracks on the hard disk 105 (604). The availability of continuous tracks on the hard disk 105 may be determined in a variety of ways. For example, on Direct Access Storage Devices (DASD), the availability of storage blocks within a storage subpool is recorded in an allocation control structure. Storage subpools are divided into allocation units which contain a fixed number of consecutive DASD storage blocks. Storage subpools are divided into allocation units to reduce the amount of data needed to record the availability of storage blocks. Storage is allocated to a requesting function in extents of consecutive allocation units. An extent of allocated storage is formed from a number of consecutive allocation units. The allocation units forming any allocated extent belong to the same storage subpool, and the storage blocks within an extent are consecutive DASD storage blocks. Extents allocated for use of the working store consist of fixed number of working storage allocation units. Any subpool block is accessed by a relative data set identifier and a relative block number within the data set. Space allocation on DASD using an allocation control structure is known in the art and will not be described further here.

Although the embodiment above is described using the K-means clustering algorithm, one of ordinary skill in the art will understand that other methods of clustering may be used without departing from the spirit and scope of the present invention.

A method, system, and computer program product for mitigating adjacent track erasures in hard disks have been disclosed. Blocks on a hard disk are assigned categories of I/O characteristics, and blocks assigned to the same category are clustered on one or more continuous tracks. By performing this clustering, blocks with a high number of I/O operations are grouped and stored on fewer tracks than if they were scattered cross numerous tracks. This reduces the number of tracks experiencing a high number of I/O operations, and in turn, the amount of refreshing of adjacent racks is reduced.

Although the present invention has been described in accordance with the embodiments shown, one of ordinary skill in the art will readily recognize that there could be variations to the embodiments and those variations would be within the spirit and scope of the present invention. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims. 

What is claimed is:
 1. A method implemented by a computing device for mitigating adjacent track erasures in hard disks, the computing device operationally coupled to a processor, the method comprising: determining input/output (I/O) characteristics for a plurality of blocks on a hard disk by the processor; assigning the plurality of blocks to a plurality of categories of I/O characteristics by the processor; and clustering content of the blocks assigned to the same category in one or more continuous tracks on the hard disk by the processor.
 2. The method of claim 1, wherein the determining the I/O characteristics for the plurality of blocks on the hard disk by the processor comprises: determining secure deletion requirements for the plurality of blocks on the hard disk by the processor, the secure deletion requirements comprising overwriting rates for the plurality of blocks; wherein the assigning the plurality of blocks to the plurality of categories of I/O characteristics by the processor comprises: assigning the plurality of blocks to a plurality of categories associated with the overwriting rates; and wherein the clustering the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk by the processor comprises: clustering the content of the blocks assigned to the same overwriting rate category in the one or more continuous tracks on the hard disk by the processor.
 3. The method of claim 1, wherein the determining the I/O characteristics for the plurality of blocks on the hard disk by the processor comprises: assigning a plurality of counters for the plurality of blocks of the hard disk by the processor, and for each of the plurality of blocks, incrementing by the processor the counter for the block each time a read operation or a write operation is performed on the block; wherein the assigning the plurality of blocks to the plurality of categories of I/O characteristics by the processor comprises: assigning one of the plurality of categories to each of the plurality of blocks by the processor, wherein the plurality of categories are defined based on thresholds of the plurality of counter values; wherein the clustering the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk by the processor comprises: clustering the content of the blocks assigned the same counter value category in the one or more continuous tracks on the hard disk by the processor.
 4. The method of claim 1, further comprising: performing at least one overwrite operation on at least one of the plurality of blocks of a track on the hard disk by the processor; determining by the processor if a predetermined threshold of overwrites for the block is reached; and in response to determining that the predetermined threshold of overwrites for the block is reached, refreshing content of adjacent tracks by the processor.
 5. A computer program product for mitigating adjacent track erasure in hard disks, the computer program product comprising: a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to: determine input/output (I/O) characteristics for a plurality of blocks on a hard disk; assign the plurality of blocks to a plurality of categories of I/O characteristics; and cluster content of the blocks assigned to the same category in one or more continuous tracks on the hard disk.
 6. The computer program product of claim 5, wherein the computer readable program code configured to determine the I/O characteristics for the plurality of blocks on the hard disk is further configured to: determine secure deletion requirements for the plurality of blocks on the hard disk, the secure deletion requirements comprising overwriting rates for the plurality of blocks; wherein the computer readable program code configured to assign the plurality of blocks to the plurality of categories of I/O characteristics is further configured to: assign the plurality of blocks to a plurality of categories associated with the overwriting rates; and wherein the computer readable program code configured to cluster the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk is further configured to: cluster the content of the blocks assigned to the same overwriting rate category in the one or more continuous tracks on the hard disk.
 7. The computer program product of claim 5, wherein the computer readable program code configured to determine the I/O characteristics for the plurality of blocks on the hard disk is further configured to: assign a plurality of counters for the plurality of blocks of the hard disk, and for each of the plurality of blocks, increment the counter for the block each time a read operation or a write operation is performed on the block; wherein the computer readable program code configured to assign the plurality of blocks to the plurality of categories of I/O characteristics is further configured to: assign one of the plurality of categories to each of the plurality of blocks, wherein the plurality of categories are defined based on thresholds of the plurality of counter values; wherein the computer readable program code configured to cluster the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk is further configured to: cluster the content of the blocks assigned the same counter value category in the one or more continuous tracks on the hard disk.
 8. The computer program product of claim 5, wherein computer readable program code is further configured to: perform at least one overwrite operation on at least one of the plurality of blocks of a track on the hard disk; determine if a predetermined threshold of overwrites for the block is reached; and in response to determining that the predetermined threshold of overwrites for the block is reached, refresh content of adjacent tracks.
 9. A system comprising: at least one hard disk comprising a plurality of tracks, each track comprising a plurality of blocks; a processor; and a computer readable storage medium operationally coupled to the processor, the computer readable storage medium having computer readable program code embodied therewith to be executed by the processor, the computer readable program code configured to: determine input/output (I/O) characteristics for the plurality of blocks on the hard disk; assign the plurality of blocks to a plurality of categories of I/O characteristics; and cluster content of the blocks assigned to the same category in one or more continuous tracks of the plurality of tracks on the hard disk.
 10. The system of claim 9, wherein the computer readable program code configured to determine the I/O characteristics for the plurality of blocks on the hard disk is further configured to: determine secure deletion requirements for the plurality of blocks on the hard disk, the secure deletion requirements comprising overwriting rates for the plurality of blocks; wherein the computer readable program code configured to assign the plurality of blocks to the plurality of categories of I/O characteristics is further configured to: assign the plurality of blocks to a plurality of categories associated with the overwriting rates; and wherein the computer readable program code configured to cluster the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk is further configured to: cluster the content of the blocks assigned to the same overwriting rate category in the one or more continuous tracks on the hard disk.
 11. The system of claim 9, wherein the computer readable program code configured to determine the I/O characteristics for the plurality of blocks on the hard disk is further configured to: assign a plurality of counters for the plurality of blocks of the hard disk, and for each of the plurality of blocks, increment the counter for the block each time a read operation or a write operation is performed on the block; wherein the computer readable program code configured to assign the plurality of blocks to the plurality of categories of I/O characteristics is further configured to: assign one of the plurality of categories to each of the plurality of blocks, wherein the plurality of categories are defined based on thresholds of the plurality of counter values; wherein the computer readable program code configured to cluster the content of the blocks assigned to the same category in the one or more continuous tracks on the hard disk is further configured to: cluster the content of the blocks assigned the same counter value category in the one or more continuous tracks on the hard disk.
 12. The system of claim 9, wherein computer readable program code is further configured to: perform at least one overwrite operation on at least one of the plurality of blocks of a track on the hard disk; determine if a predetermined threshold of overwrites for the block is reached; and in response to determining that the predetermined threshold of overwrites for the block is reached, refresh content of adjacent tracks.
 13. A computer implemented method for mitigating adjacent track erasures in hard disks, the computer operationally coupled to a processor, the method comprising: determining input/output (I/O) characteristics for a plurality of blocks on the hard disk by the processor, the I/O characteristics comprising secure deletion requirements, the secure deletion requirements comprising overwriting rates for the plurality of blocks; assigning the plurality of blocks to a plurality of categories associated with the overwriting rates by the processor; and clustering content of the blocks assigned to the same overwriting rate category in one or more continuous tracks on the hard disk by the processor.
 14. The method of claim 13, wherein the I/O characteristics further comprises counter values for the plurality of blocks on the hard disk, wherein the determining the I/O characteristics for the plurality of blocks on the hard disk by the processor, the I/O characteristics comprising secure deletion requirements, the secure deletion requirements comprising the overwriting rates for the plurality of blocks, further comprises: assigning a plurality of counters for the plurality of blocks of the hard disk by the processor, and for each of the plurality of blocks, incrementing by the processor the counter for the block each time a read operation or a write operation is performed on the block; wherein the assigning the plurality of blocks to the plurality of categories associated with the overwriting rates by the processor further comprises: assigning one of the plurality of categories to each of the plurality of blocks by the processor, wherein the plurality of categories are defined based on thresholds of the plurality of counter values; wherein the clustering the content of the blocks assigned to the same overwriting rate category in the one or more continuous tracks on the hard disk by the processor further comprises: clustering the content of the blocks assigned the same counter value category in the one or more continuous tracks on the hard disk by the processor.
 15. The method of claim 13, further comprising: performing at least one overwrite operation on at least one of the plurality of blocks of a track on the hard disk by the processor; determining by the processor if a predetermined threshold of overwrites for the block is reached; and in response to determining that the predetermined threshold of overwrites for the block is reached, refreshing content of adjacent tracks by the processor. 